#ifndef __ARDUINO_PORT_CONFIG_H__
#define __ARDUINO_PORT_CONFIG_H__

#include <stm32_def.h>

#ifndef __CORTEX_M
#pragma GCC error  "no \"__CORTEX_M\" definition"
#endif

#if (__CORTEX_M == 0x00U)
#include "../portable/arch/arm/arm-v7m/cortex-m0+/gcc/port_config.h"
#endif

#if (__CORTEX_M == 0x03U)
#include "../portable/arch/arm/arm-v7m/cortex-m3/gcc/port_config.h"
#endif

#if (__CORTEX_M == 0x04U)
#include "../portable/arch/arm/arm-v7m/cortex-m4/gcc/port_config.h"
#endif

#if (__CORTEX_M == 0x07U)
#include "../portable/arch/arm/arm-v7m/cortex-m7/gcc/port_config.h"
#endif

#endif